var path = require('path');
var pathAlias = require('./path-alias.config.js');
var pageArr = require('./page-entries.config.js');
var configEntry = {};

pageArr.forEach((page) => {
  configEntry[page] = [path.resolve(pathAlias.pagesDir, page + '/entry')];
});
module.exports = configEntry;
console.log(configEntry);
